﻿//============================================================
//write by bxl at 2021-06-13 21:13:41
//============================================================

using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace BCDto.CRM.BigCustomer
{
    /// <summary>
    /// 大客户信息 数据模型
    /// </summary>
    public class BigCustomerRequestDto
    {

        /// <summary>
        /// 大客户组Id
        /// </summary>            
        [Display(Name = "大客户组Id")] 
        public long? BigCustomerGroupId { get; set; } 

        /// <summary>
        /// 用户Id
        /// </summary>            
        [Display(Name = "用户Id")] 
        public long? UserId { get; set; }

        /// <summary>
        /// 客户信息Id
        /// </summary>            
        public long? CustomerInfoId { get; set; }

        /// <summary>
        /// 大客户级别
        /// </summary>            
        [Display(Name = "大客户级别")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public int BigCustomerLevel { get; set; }

        /// <summary>
        /// 优先指派
        /// </summary>
        [Display(Name = "优先指派")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public bool IsFristAssign { get; set; }


        /// <summary>
        /// 启用搬家
        /// </summary>
        [Display(Name = "启用搬家")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public bool EnableMoveing { get; set; }

        /// <summary>
        /// 启用跑腿
        /// </summary>
        [Display(Name = "启用跑腿")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public bool EnableRunErrands { get; set; }

        /// <summary>
        /// 启用同城
        /// </summary>
        [Display(Name = "启用同城")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public bool EnableSameCity { get; set; }

        /// <summary>
        /// 启用小件
        /// </summary>
        [Display(Name = "启用小件")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public bool EnableSmallPieces { get; set; }

    }
}
